package com.ruoyi.buy.domain.entity.PO;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 盘点单信息对象 inv_stock_bill
 * 
 * @author ruoyi
 * @date 2024-01-02
 */
public class InvStockBill extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 单据编号 */
    @Excel(name = "单据编号")
    private String vBillNo;

    /** 仓库iD */
    @Excel(name = "仓库iD")
    private String vWHId;

    /** 执行人 */
    @Excel(name = "执行人")
    private String vOpr;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dBegin;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dEnd;

    /**  */
    @Excel(name = "")
    private String status;

    /** 库区 */
    @Excel(name = "库区")
    private String vAreaId;

    /** 库位 */
    @Excel(name = "库位")
    private String vLocationId;

    private List<String> vLocationIds;

    public List<String> getvLocationIds() {
        return vLocationIds;
    }

    public void setvLocationIds(List<String> vLocationIds) {
        this.vLocationIds = vLocationIds;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setvBillNo(String vBillNo) 
    {
        this.vBillNo = vBillNo;
    }

    public String getvBillNo() 
    {
        return vBillNo;
    }
    public void setvWHId(String vWHId) 
    {
        this.vWHId = vWHId;
    }

    public String getvWHId() 
    {
        return vWHId;
    }
    public void setvOpr(String vOpr) 
    {
        this.vOpr = vOpr;
    }

    public String getvOpr() 
    {
        return vOpr;
    }
    public void setdBegin(Date dBegin) 
    {
        this.dBegin = dBegin;
    }

    public Date getdBegin() 
    {
        return dBegin;
    }
    public void setdEnd(Date dEnd) 
    {
        this.dEnd = dEnd;
    }

    public Date getdEnd() 
    {
        return dEnd;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setvAreaId(String vAreaId) 
    {
        this.vAreaId = vAreaId;
    }

    public String getvAreaId() 
    {
        return vAreaId;
    }
    public void setvLocationId(String vLocationId)
    {
        this.vLocationId = vLocationId;
    }

    public String getvLocationId()
    {
        return vLocationId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("vBillNo", getvBillNo())
            .append("vWHId", getvWHId())
            .append("vOpr", getvOpr())
            .append("dBegin", getdBegin())
            .append("dEnd", getdEnd())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("status", getStatus())
            .append("vAreaId", getvAreaId())
            .append("vLocationId", getvLocationId())
            .toString();
    }
}
